package com.ruoyi.communal.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 意见反馈对象 feed_back
 * 
 * @author ruoyi
 * @date 2025-01-13
 */
@Data
public class FeedBack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long id;

    /** 提问用户 */
    @Excel(name = "提问用户")
    private Long userId;
    private SysUser user;
    /** 回复人 */
    @Excel(name = "回复人")
    private Long replyId;
    private SysUser reply;
    /** 意见类型id */
    @Excel(name = "意见类型id")
    private Long typeId;
    private ProblemType problemType;
    /** 具体意见 */
    @Excel(name = "具体意见")
    private String details;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String content;

    /** 回复时间 */
    @Excel(name = "回复时间")
    private String replyTime;

    /** 1未回复2已回复 */
    @Excel(name = "1未回复2已回复")
    private Long start;

    /** 删除 */
    private String del;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setReplyId(Long replyId) 
    {
        this.replyId = replyId;
    }

    public Long getReplyId() 
    {
        return replyId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setDetails(String details) 
    {
        this.details = details;
    }

    public String getDetails() 
    {
        return details;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setReplyTime(String replyTime) 
    {
        this.replyTime = replyTime;
    }

    public String getReplyTime() 
    {
        return replyTime;
    }
    public void setStart(Long start) 
    {
        this.start = start;
    }

    public Long getStart() 
    {
        return start;
    }
    public void setDel(String del) 
    {
        this.del = del;
    }

    public String getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("replyId", getReplyId())
            .append("typeId", getTypeId())
            .append("details", getDetails())
            .append("content", getContent())
            .append("replyTime", getReplyTime())
            .append("start", getStart())
            .append("del", getDel())
            .toString();
    }
}
